package com.vallis.lottery.domain;

import com.vallis.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.math.BigDecimal;
import com.vallis.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 当期结果对象 contain_calc_result
 *
 * @author vallis
 * @date 2022-08-10
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ContainCalcResult extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(type = IdType.AUTO)
    private Long id;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long containId;
    /** 号 */
    @Excel(name = "号")
    private Long firstNum;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long secondNum;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long thirdNum;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long fouthNum;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long fifithNum;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long sixNum;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long sevenNum;
    /** 采集类型 */
    @Excel(name = "采集类型")
    private Long containType;
    /** 奖金金额 */
    @Excel(name = "奖金金额")
    private BigDecimal awardPrice;
    /** 花费金额 */
    @Excel(name = "花费金额")
    private BigDecimal costMoney;
    /** 一等奖 */
    @Excel(name = "一等奖")
    private BigDecimal firstAwardPrice;
    /** 二等奖 */
    @Excel(name = "二等奖")
    private BigDecimal secondAwardPrice;
    /** 三等奖 */
    @Excel(name = "三等奖")
    private BigDecimal thirdAwardPrice;
    /** 四等奖 */
    @Excel(name = "四等奖")
    private BigDecimal fourthAwardPrice;
    /** 五等奖 */
    @Excel(name = "五等奖")
    private BigDecimal fifthAwardPrice;
    /** 六等奖 */
    @Excel(name = "六等奖")
    private BigDecimal sixthAwardPrice;
    /** 七等奖 */
    @Excel(name = "七等奖")
    private BigDecimal seventhAwardPrice;
    /** 八等奖 */
    @Excel(name = "八等奖")
    private BigDecimal eighthAwardPrice;
    /** 九等奖 */
    @Excel(name = "九等奖")
    private BigDecimal nineAwardPrice;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("containId", getContainId())
            .append("firstNum", getFirstNum())
            .append("secondNum", getSecondNum())
            .append("thirdNum", getThirdNum())
            .append("fouthNum", getFouthNum())
            .append("fifithNum", getFifithNum())
            .append("sixNum", getSixNum())
            .append("sevenNum", getSevenNum())
            .append("containType", getContainType())
            .append("awardPrice", getAwardPrice())
            .append("costMoney", getCostMoney())
            .append("firstAwardPrice", getFirstAwardPrice())
            .append("secondAwardPrice", getSecondAwardPrice())
            .append("thirdAwardPrice", getThirdAwardPrice())
            .append("fourthAwardPrice", getFourthAwardPrice())
            .append("fifthAwardPrice", getFifthAwardPrice())
            .append("sixthAwardPrice", getSixthAwardPrice())
            .append("seventhAwardPrice", getSeventhAwardPrice())
            .append("eighthAwardPrice", getEighthAwardPrice())
            .append("nineAwardPrice", getNineAwardPrice())
        .toString();
    }
}
